package allwe.pojo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import java.io.Serializable;


@AllArgsConstructor
@NoArgsConstructor
public class Person implements Serializable {
    public String name;

    private int age;

    private void getName(){
        System.out.println("student name");
    }

    public void getAge(){
        System.out.println("student age");
    }
}
